/**
 * @FileName: UpCustomerPicDto.java
 * @Package com.ziroom.minsu.api.customer.dto
 * 
 * @author bushujie
 * @created 2016年4月23日 下午5:56:47
 * 
 * Copyright 2011-2015 asura
 */
package com.jiyinit.web.core.dto;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * 
 * <p>房东uid</p>
 * 
 * <PRE>
 * <BR>	修改记录
 * <BR>-----------------------------------------------
 * <BR>	修改日期			修改人			修改内容
 * </PRE>
 * 
 * @author liujun
 * @since 1.0
 * @version 1.0
 */
public class UserRequest {

	@NotEmpty(message = "房东uid不能为空")
	private String landlordUid;

	@NotEmpty(message = "房源fid不能为空")
	private String houseFid;

	@NotNull(message = "出租方式不能为空")
	private Integer rentWay;

	@Length(min=5, max=17, message = "长度不合法")
	private String length;

	public String getLandlordUid() {
		return landlordUid;
	}

	public void setLandlordUid(String landlordUid) {
		this.landlordUid = landlordUid;
	}

	public String getHouseFid() {
		return houseFid;
	}

	public void setHouseFid(String houseFid) {
		this.houseFid = houseFid;
	}

	public Integer getRentWay() {
		return rentWay;
	}

	public void setRentWay(Integer rentWay) {
		this.rentWay = rentWay;
	}

	public String getLength() {
		return length;
	}

	public void setLength(String length) {
		this.length = length;
	}
}
